<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>コントロールパネル</title>
    
    <link href="./assets/styles/default.css" rel="stylesheet" />
	<script src="./assets/scripts/libs/jquery-1.7.1.min.js" type="text/javascript"></script>
	<script src="./assets/scripts/plugins/jquery.tagsinput.min.js" type="text/javascript"></script>
	<script src="./assets/scripts/import.js" type="text/javascript"></script>  
</head>
<body>
{include file='include/header.inc.html'}

<div id="container">
	<aside id="accordion">
    	<div id="aside_inner">
    		{include file='include/menu.inc.html'}
        </div>
    </aside>
    
    <article>
    	<h2><span>&nbsp;</span>Seo<p><a href="javascript:;">Open Plugins</a></p></h2>
        <nav>
        	<ul>
            	<li class="active"><a href="seo.php"><span>検索</span></a></li>
            	<li><a href="seo.php?op=regist"><span>登録</span></a></li>
		</ul>
        </nav>
        
        <section id="content">
        
        	<h3>検索</h3>
                <div id="search_form">
                    <form name="form1" method="post" action="seo.php" >
                        <dl>
                            <dt>キーワード</dt>
                            <dd>
                                <input type="text" name="search[keyword]" value="{$search.keyword|escape}" class="text" />
                            </dd>
                        </dl>
                        <dl>
                            <dt>URL</dt>
                            <dd>
                                <input type="text" name="search[url]" value="{$search.url|escape}" class="text" />
                            </dd>
                        </dl>
                        <p class="search_submit">
                            <button type="submit" class="submit"><span>検索</span></button>
                        </p>
                        <input type="hidden" name="op" value="serach"/>
                        <input type="hidden" name="page_id" value=""/>
                    </form>
                </div>
                
            {if isset($list)}
                
		<p class="message">{if isset($pager->info.all)}{$pager->info.all|number_format}{else}0{/if}件 みつかりました</p>

		{if isset($pager->info.all) && $pager->info.all > 0}

                    {include file='seo/include/search_list.inc.html'}
                    {include file='include/pager.inc.html'}
					
                {/if}
					
            {/if}            

        </section>
    </article>
    
</div>

{include file='include/footer.inc.html'}

<script language="JavaScript">
function page(n){
	var obj = document.form1;
	form1.page.value = n;
	form1.submit();
}
</script>

</body>
</html>